<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('标题')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="{$row['title']|default=''}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-description" class="control-label col-xs-12 col-sm-2">{:__('描述')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-description" data-rule="required" class="form-control" name="row[description]">{$row['description']|default=''}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('资金目标')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price" data-rule="required" class="form-control" name="row[price]" type="text" value="{$row['price']|default=''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('资金交付')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jiaofu" data-rule="required" class="form-control" name="row[jiaofu]" type="text" value="{$row['jiaofu']|default=''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('报名人数')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-nums" data-rule="required" class="form-control" name="row[nums]" type="text" value="{$row['nums']|default='0'}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('图片')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:Form::image('row[image]', $row['image']??null, ['data-rule'=>'required'])}
        </div>
    </div>
   
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('开始时间')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:Form::datepicker('row[start_time]', $row['start_time']??null, ['data-rule'=>'required'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('结束时间')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:Form::datepicker('row[start_time]', $row['end_time']??null, ['data-rule'=>'required'])}
        </div>
    </div>
    <div class="form-group">
        <label for="c-content" class="control-label col-xs-12 col-sm-2">{:__('简介')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-content" data-rule="required" class="form-control editor" name="row[content]">{$value['content']|default=''}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="c-team" class="control-label col-xs-12 col-sm-2">{:__('团队')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-team" data-rule="required" class="form-control editor"name="row[team]">{$value['team']|default=''}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="c-caiwu" class="control-label col-xs-12 col-sm-2">{:__('财务状况')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-caiwu" data-rule="required" class="form-control editor"name="row[caiwu]">{$value['caiwu']|default=''}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="c-huibao" class="control-label col-xs-12 col-sm-2">{:__('回报')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-huibao" data-rule="required" class="form-control editor"name="row[huibao]">{$value['huibao']|default=''}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="c-xuzhi" class="control-label col-xs-12 col-sm-2">{:__('风险须知')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-xuzhi" data-rule="required" class="form-control editor"name="row[xuzhi]">{$value['xuzhi']|default=''}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>